#ifndef __SCNS_BMP_H__
#define __SCNS_BMP_H__

#include "ScnsConfig.h"

#if defined(SCNS_BMP_ENABLE)&&SCNS_BMP_ENABLE==1

#include "ScnsYing.h"
#include "ScnsImage.h"
#include "ScnsColor.h"

#if defined(SCNS_FILE_ENABLE)&&SCNS_FILE_ENABLE==1
extern void scnsBmpWrite(FILE*fp,const ScnsImage*img,uint8 close);
extern ScnsImage*scnsBmpRead(FILE*fp,uint8 close,ScnsColorFormat type);
#endif
#endif
#endif
